import redis

redis_conn = redis.Redis(host='master', port=6379, db=0)
redis_conn.sadd("set1","1")
redis_conn.sadd("set1","2")
redis_conn.sadd("set1","3")

print(redis_conn.sismember("set1",1))
print(redis_conn.sismember("set1",2))
print(redis_conn.sismember("set1","abc"))



